<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">

<title>test-unit: Ruby Standard Library Documentation</title>


<script src="./js/navigation.js" defer></script>
<script src="./js/search.js" defer></script>
<script src="./js/search_index.js" defer></script>
<script src="./js/searcher.js" defer></script>
<script src="./js/darkfish.js" defer></script>

<script src="./js/jquery-3.2.0.min.js"></script>

<script src="./js/vue.min.js"></script>
<script src="./js/js.cookie.min.js"></script>

<link href="./css/fonts.css" rel="stylesheet">
<link id='rdoccss' href="./css/rdoc.css" rel="stylesheet">
<link href="./css/carbon17.css" rel="stylesheet">

<script type="text/javascript">
  var rdoc_rel_prefix = "./";
  var index_rel_prefix = "./";
  var darkModeCsseHref = "./css/rdoc-dm.css"
  var defaultModeCssHref = "./css/rdoc.css"
  // var cssDarkmode = Cookies.get('darkmode');
  
  if( Cookies.get("darkmode") == "true") {
	$('#rdoccss').attr("href", darkModeCsseHref);
}

//  https://cssdeck.com/blog/simple-jquery-stylesheet-switcher/

document.write('<style type="text/css">body{display:none}</style>');

</script>


</head>
<body id="top" role="document" class="file">
  <!-- index.html -->
 <div id='actionbar' >
   
<div class='wrapper mdiv'>
 <ul class='grids g0'></ul>
</div> 
<!-- VERSION HEADER for 3.3.0.preview2 NOT FOUND -->
</div> <!-- end action bar -->

 <div class='wrapper hdiv'>

 

<nav id='vapp' role="navigation">
  <div id="project-navigation"    >
    <div id="home-section" role="region" title="Quick navigation" class="nav-section">
  <h2><a href="./index.html" rel="home">Home</a></h2>

  <div id="table-of-contents-navigation"  >
    <a href="./table_of_contents.html#pages">Pages</a>
    <a href="./table_of_contents.html#classes">Classes</a>
    <a href="./table_of_contents.html#methods">Methods</a>
  </div>
</div>

    <div id="search-section" role="search" class="project-section initially-hidden">
  <form action="#" method="get" accept-charset="utf-8">
    <div id="search-field-wrapper">
      <input id="search-field" role="combobox" aria-label="Search"
             aria-autocomplete="list" aria-controls="search-results"
             type="text" name="search" placeholder="Search" spellcheck="false"
             title="Type to search, Up and Down to navigate, Enter to load">
    </div>

    <ul id="search-results" aria-label="Search Results"
        aria-busy="false" aria-expanded="false"
        aria-atomic="false" class="initially-hidden"></ul>
  </form>
</div>

  </div>
  
  <button id='toggleThing' @click="isOpen = !isOpen" _click="toggleNav()" >Show/hide navigation</button>

    <div id="project-metadata" >
      <div :class="isOpen ? 'block' : 'hidden' " id='toggleMe'>
    

    <div id="classindex-section" class="nav-section">
  <h3>Class and Module Index</h3>

  <ul class="link-list">
    <li><a href="./Object.html">Object</a>
    <li><a href="./Test.html">Test</a>
    <li><a href="./Test/Unit.html">Test::Unit</a>
    <li><a href="./Test/Unit/AssertionFailedError.html">Test::Unit::AssertionFailedError</a>
    <li><a href="./Test/Unit/Assertions.html">Test::Unit::Assertions</a>
    <li><a href="./Test/Unit/Assertions/AssertExceptionHelper.html">Test::Unit::Assertions::AssertExceptionHelper</a>
    <li><a href="./Test/Unit/Assertions/AssertExceptionHelper/WrappedException.html">Test::Unit::Assertions::AssertExceptionHelper::WrappedException</a>
    <li><a href="./Test/Unit/Assertions/AssertionMessage.html">Test::Unit::Assertions::AssertionMessage</a>
    <li><a href="./Test/Unit/Assertions/AssertionMessage/ArrayInspector.html">Test::Unit::Assertions::AssertionMessage::ArrayInspector</a>
    <li><a href="./Test/Unit/Assertions/AssertionMessage/DelayedLiteral.html">Test::Unit::Assertions::AssertionMessage::DelayedLiteral</a>
    <li><a href="./Test/Unit/Assertions/AssertionMessage/HashInspector.html">Test::Unit::Assertions::AssertionMessage::HashInspector</a>
    <li><a href="./Test/Unit/Assertions/AssertionMessage/Inspector.html">Test::Unit::Assertions::AssertionMessage::Inspector</a>
    <li><a href="./Test/Unit/Assertions/AssertionMessage/Literal.html">Test::Unit::Assertions::AssertionMessage::Literal</a>
    <li><a href="./Test/Unit/Assertions/AssertionMessage/MaybeContainer.html">Test::Unit::Assertions::AssertionMessage::MaybeContainer</a>
    <li><a href="./Test/Unit/Assertions/AssertionMessage/NumericInspector.html">Test::Unit::Assertions::AssertionMessage::NumericInspector</a>
    <li><a href="./Test/Unit/Assertions/AssertionMessage/Template.html">Test::Unit::Assertions::AssertionMessage::Template</a>
    <li><a href="./Test/Unit/Assertions/ThrowTagExtractor.html">Test::Unit::Assertions::ThrowTagExtractor</a>
    <li><a href="./Test/Unit/Attribute.html">Test::Unit::Attribute</a>
    <li><a href="./Test/Unit/Attribute/BaseClassMethods.html">Test::Unit::Attribute::BaseClassMethods</a>
    <li><a href="./Test/Unit/Attribute/ClassMethods.html">Test::Unit::Attribute::ClassMethods</a>
    <li><a href="./Test/Unit/Attribute/StringifyKeyHash.html">Test::Unit::Attribute::StringifyKeyHash</a>
    <li><a href="./Test/Unit/AttributeMatcher.html">Test::Unit::AttributeMatcher</a>
    <li><a href="./Test/Unit/AutoRunner.html">Test::Unit::AutoRunner</a>
    <li><a href="./Test/Unit/AutoRunner/StopOnFailureListener.html">Test::Unit::AutoRunner::StopOnFailureListener</a>
    <li><a href="./Test/Unit/AutoRunnerLoader.html">Test::Unit::AutoRunnerLoader</a>
    <li><a href="./Test/Unit/CodeSnippetFetcher.html">Test::Unit::CodeSnippetFetcher</a>
    <li><a href="./Test/Unit/Collector.html">Test::Unit::Collector</a>
    <li><a href="./Test/Unit/Collector/Descendant.html">Test::Unit::Collector::Descendant</a>
    <li><a href="./Test/Unit/Collector/Dir.html">Test::Unit::Collector::Dir</a>
    <li><a href="./Test/Unit/Collector/Load.html">Test::Unit::Collector::Load</a>
    <li><a href="./Test/Unit/Collector/ObjectSpace.html">Test::Unit::Collector::ObjectSpace</a>
    <li><a href="./Test/Unit/Collector/XML.html">Test::Unit::Collector::XML</a>
    <li><a href="./Test/Unit/Collector/XML/Listener.html">Test::Unit::Collector::XML::Listener</a>
    <li><a href="./Test/Unit/Color.html">Test::Unit::Color</a>
    <li><a href="./Test/Unit/Color/Error.html">Test::Unit::Color::Error</a>
    <li><a href="./Test/Unit/Color/ParseError.html">Test::Unit::Color::ParseError</a>
    <li><a href="./Test/Unit/ColorScheme.html">Test::Unit::ColorScheme</a>
    <li><a href="./Test/Unit/Data.html">Test::Unit::Data</a>
    <li><a href="./Test/Unit/Data/ClassMethods.html">Test::Unit::Data::ClassMethods</a>
    <li><a href="./Test/Unit/Data/ClassMethods/Loader.html">Test::Unit::Data::ClassMethods::Loader</a>
    <li><a href="./Test/Unit/DataSets.html">Test::Unit::DataSets</a>
    <li><a href="./Test/Unit/Diff.html">Test::Unit::Diff</a>
    <li><a href="./Test/Unit/Diff/Differ.html">Test::Unit::Diff::Differ</a>
    <li><a href="./Test/Unit/Diff/ReadableDiffer.html">Test::Unit::Diff::ReadableDiffer</a>
    <li><a href="./Test/Unit/Diff/SequenceMatcher.html">Test::Unit::Diff::SequenceMatcher</a>
    <li><a href="./Test/Unit/Diff/UTF8Line.html">Test::Unit::Diff::UTF8Line</a>
    <li><a href="./Test/Unit/Diff/UnifiedDiffer.html">Test::Unit::Diff::UnifiedDiffer</a>
    <li><a href="./Test/Unit/Error.html">Test::Unit::Error</a>
    <li><a href="./Test/Unit/ErrorHandler.html">Test::Unit::ErrorHandler</a>
    <li><a href="./Test/Unit/ExceptionHandler.html">Test::Unit::ExceptionHandler</a>
    <li><a href="./Test/Unit/ExceptionHandler/ClassMethods.html">Test::Unit::ExceptionHandler::ClassMethods</a>
    <li><a href="./Test/Unit/Failure.html">Test::Unit::Failure</a>
    <li><a href="./Test/Unit/FailureHandler.html">Test::Unit::FailureHandler</a>
    <li><a href="./Test/Unit/FaultLocationDetector.html">Test::Unit::FaultLocationDetector</a>
    <li><a href="./Test/Unit/Fixture.html">Test::Unit::Fixture</a>
    <li><a href="./Test/Unit/Fixture/ClassMethods.html">Test::Unit::Fixture::ClassMethods</a>
    <li><a href="./Test/Unit/Fixture/Fixture.html">Test::Unit::Fixture::Fixture</a>
    <li><a href="./Test/Unit/Fixture/HookPoint.html">Test::Unit::Fixture::HookPoint</a>
    <li><a href="./Test/Unit/MixColor.html">Test::Unit::MixColor</a>
    <li><a href="./Test/Unit/Notification.html">Test::Unit::Notification</a>
    <li><a href="./Test/Unit/NotificationHandler.html">Test::Unit::NotificationHandler</a>
    <li><a href="./Test/Unit/NotifiedError.html">Test::Unit::NotifiedError</a>
    <li><a href="./Test/Unit/NullResultContainerInitializer.html">Test::Unit::NullResultContainerInitializer</a>
    <li><a href="./Test/Unit/Omission.html">Test::Unit::Omission</a>
    <li><a href="./Test/Unit/OmissionHandler.html">Test::Unit::OmissionHandler</a>
    <li><a href="./Test/Unit/OmittedError.html">Test::Unit::OmittedError</a>
    <li><a href="./Test/Unit/PendedError.html">Test::Unit::PendedError</a>
    <li><a href="./Test/Unit/Pending.html">Test::Unit::Pending</a>
    <li><a href="./Test/Unit/PendingHandler.html">Test::Unit::PendingHandler</a>
    <li><a href="./Test/Unit/Priority.html">Test::Unit::Priority</a>
    <li><a href="./Test/Unit/Priority/Checker.html">Test::Unit::Priority::Checker</a>
    <li><a href="./Test/Unit/Priority/ClassMethods.html">Test::Unit::Priority::ClassMethods</a>
    <li><a href="./Test/Unit/TestCase.html">Test::Unit::TestCase</a>
    <li><a href="./Test/Unit/TestCase/InternalData.html">Test::Unit::TestCase::InternalData</a>
    <li><a href="./Test/Unit/TestCaseNotificationSupport.html">Test::Unit::TestCaseNotificationSupport</a>
    <li><a href="./Test/Unit/TestCaseOmissionSupport.html">Test::Unit::TestCaseOmissionSupport</a>
    <li><a href="./Test/Unit/TestCasePendingSupport.html">Test::Unit::TestCasePendingSupport</a>
    <li><a href="./Test/Unit/TestResult.html">Test::Unit::TestResult</a>
    <li><a href="./Test/Unit/TestResultErrorSupport.html">Test::Unit::TestResultErrorSupport</a>
    <li><a href="./Test/Unit/TestResultFailureSupport.html">Test::Unit::TestResultFailureSupport</a>
    <li><a href="./Test/Unit/TestResultNotificationSupport.html">Test::Unit::TestResultNotificationSupport</a>
    <li><a href="./Test/Unit/TestResultOmissionSupport.html">Test::Unit::TestResultOmissionSupport</a>
    <li><a href="./Test/Unit/TestResultPendingSupport.html">Test::Unit::TestResultPendingSupport</a>
    <li><a href="./Test/Unit/TestSuite.html">Test::Unit::TestSuite</a>
    <li><a href="./Test/Unit/UI.html">Test::Unit::UI</a>
    <li><a href="./Test/Unit/UI/Console.html">Test::Unit::UI::Console</a>
    <li><a href="./Test/Unit/UI/Console/ColorizedReadableDiffer.html">Test::Unit::UI::Console::ColorizedReadableDiffer</a>
    <li><a href="./Test/Unit/UI/Console/OutputLevel.html">Test::Unit::UI::Console::OutputLevel</a>
    <li><a href="./Test/Unit/UI/Console/TestRunner.html">Test::Unit::UI::Console::TestRunner</a>
    <li><a href="./Test/Unit/UI/Emacs.html">Test::Unit::UI::Emacs</a>
    <li><a href="./Test/Unit/UI/Emacs/TestRunner.html">Test::Unit::UI::Emacs::TestRunner</a>
    <li><a href="./Test/Unit/UI/TestRunner.html">Test::Unit::UI::TestRunner</a>
    <li><a href="./Test/Unit/UI/TestRunnerMediator.html">Test::Unit::UI::TestRunnerMediator</a>
    <li><a href="./Test/Unit/UI/TestRunnerUtilities.html">Test::Unit::UI::TestRunnerUtilities</a>
    <li><a href="./Test/Unit/UI/XML.html">Test::Unit::UI::XML</a>
    <li><a href="./Test/Unit/UI/XML/TestRunner.html">Test::Unit::UI::XML::TestRunner</a>
    <li><a href="./Test/Unit/Util.html">Test::Unit::Util</a>
    <li><a href="./Test/Unit/Util/BacktraceFilter.html">Test::Unit::Util::BacktraceFilter</a>
    <li><a href="./Test/Unit/Util/MemoryUsage.html">Test::Unit::Util::MemoryUsage</a>
    <li><a href="./Test/Unit/Util/MethodOwnerFinder.html">Test::Unit::Util::MethodOwnerFinder</a>
    <li><a href="./Test/Unit/Util/Observable.html">Test::Unit::Util::Observable</a>
    <li><a href="./Test/Unit/Util/Output.html">Test::Unit::Util::Output</a>
    <li><a href="./Test/Unit/Util/ProcWrapper.html">Test::Unit::Util::ProcWrapper</a>
  </ul>
</div>

    </div>
  </div>
</nav>


<!--  carbon ads here -->

<div id='extraz'>
  <div class='adzbox-index'  >
   
  </div>
 </div>         


<main role="main">
<p>This is the API documentation for test-unit: Ruby Standard Library Documentation.</p>
<p>This is the API documentation for .</p>
</main>



</div>  <!--  class='wrapper hdiv' -->


<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a></p>
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.</p>
<p>Based on <a href="https://github.com/ged/darkfish/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.</p>

  
    <p><p><a href="https://ruby-doc.org">Ruby-doc.org</a> is provided by <a href="https://jamesbritt.com">James Britt</a> and <a href="https://neurogami.com">Neurogami</a>. </p><p><a href="https://jamesbritt.bandcamp.com/">Hack your world.  Feed your head.  Live curious</a>.</p>
</p>
  
  </footer>

<script type="text/javascript">


  let ads  = $("#carbonads-container").children().detach();


  function swapMode() {
    var cookieName = 'darkmode';
    var cssDarkmode = Cookies.get(cookieName);
    console.log("***** swapMode! " + cssDarkmode + " *****");


    if (cssDarkmode == "true") {
      console.log("We have dark mode, set the css to light ...");
      $('#rdoccss').attr("href", defaultModeCssHref);
      $('#cssSelect').text("Dark mode");
      cssDarkmode = "false";
      console.log("swapMode! Now set cookie to " + cssDarkmode);
      Cookies.set(cookieName, cssDarkmode);

    } else {
      console.log("We not have dark mode, set the css to dark ...");
      $('#rdoccss').attr("href", darkModeCsseHref);
      $('#cssSelect').text("Light mode");
      cssDarkmode = "true";
      console.log("swapMode! Now set cookie to " + cssDarkmode);
      Cookies.set(cookieName, cssDarkmode);

    }

    console.log("  --------------- ");
  }


const vueCssApp = new Vue({
el: '#menubar',
data: {
isDark: false
},
methods: {
toggleClass: function(event){
this.isDark = !this.isDark;
}
}
})

const vueApp = new Vue({
el: '#vapp',
data: { 
isOpen: true
},

mounted() {
this.handleResize();
this.manage_mob_classes();
window.addEventListener('resize', this.handleResize)
//this.isOpen !=  (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent));
},
destroyed() {
window.removeEventListener('resize', this.handleResize)
},
created() {
//manage_mob_classes();
},

methods : {
isMobile() {
  return (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent));
},

  handleResize() {
    if (!this.isMobile()) {
      this.isOpen = window.innerWidth > 800;
    }
  },

  manage_mob_classes() {
    if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
      $("nav").addClass("mob_nav");
      $("main").addClass("mob_main");
      $("#extraz").addClass("mob_extraz");
      $("#carbonads-container").addClass("mob_carbonads-container");
      this.isOpen  = false;
    } else {
      $("nav").removeClass("mob_nav") 
        $("main").removeClass("mob_main");
      $("#extraz").removeClass("mob_extraz");
      $("#carbonads-container").removeClass("mob_carbonads-container");
      this.isOpen  = true;
    }
  },

  toggleNav() {
    this.isOpen =! this.isOpen ;
    // alert("Toggle nav!");
    console.log("toggleNav() click: " + this.isOpen );
  }
}
})

$("#carbonads-container").append(ads);


$(function() {

    var darkmode = Cookies.get("darkmode");
    console.log("Document ready: " + darkmode);

    if ( darkmode  == "true" ) {
      $('#cssSelect').text("Light mode");
    } else {
      $('#cssSelect').text("Dark mode");
     }

    $('body').css('display','block');
    });

</script>

    
  </body> 
</html>

